package com.hopu.aop.springaop.service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class UserService22Impl2 implements IUserService{
    @Override
    public void add() {
        System.out.println("添加用户");
        throw new RuntimeException("测试");
    }

    @Override
    public void query() {
        System.out.println("查询用户");
    }

    @Override
    public void update() {
        System.out.println("更新用户");
    }

    @Override
    public void delete() {
        System.out.println("删除用户");
    }
}
